/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.story.novel.domain;

import java.util.Date;

/**
 *
 * @author Administrator
 */
public class Novel {

    private int _id;
    private String _name;
    private Author _author;
    private boolean _isDeleted;
    private int _clickCount;
    private Date _createdAt;
    private boolean _locked;
    private int _novelType;

    /**
     * @return the _id
     */
    public int getId() {
        return _id;
    }

    /**
     * @param _id the _id to set
     */
    public void setId(int _id) {
        this._id = _id;
    }

    /**
     * @return the _name
     */
    public String getName() {
        return _name;
    }

    /**
     * @param _name the _name to set
     */
    public void setName(String _name) {
        this._name = _name;
    }

    /**
     * @return the _author
     */
    public Author getAuthor() {
        return _author;
    }

    /**
     * @param _author the _author to set
     */
    public void setAuthor(Author _author) {
        this._author = _author;
    }

    /**
     * @return the _isDeleted
     */
    public boolean isIsDeleted() {
        return _isDeleted;
    }

    /**
     * @param _isDeleted the _isDeleted to set
     */
    public void setIsDeleted(boolean _isDeleted) {
        this._isDeleted = _isDeleted;
    }

    /**
     * @return the _clickCount
     */
    public int getClickCount() {
        return _clickCount;
    }

    /**
     * @param _clickCount the _clickCount to set
     */
    public void setClickCount(int _clickCount) {
        this._clickCount = _clickCount;
    }

    /**
     * @return the _createdAt
     */
    public Date getCreatedAt() {
        return _createdAt;
    }

    /**
     * @param _createdAt the _createdAt to set
     */
    public void setCreatedAt(Date _createdAt) {
        this._createdAt = _createdAt;
    }

    /**
     * @return the _locked
     */
    public boolean isLocked() {
        return _locked;
    }

    /**
     * @param _locked the _locked to set
     */
    public void setLocked(boolean _locked) {
        this._locked = _locked;
    }

    /**
     * @return the _novelType
     */
    public int getNovelType() {
        return _novelType;
    }

    /**
     * @param _novelType the _novelType to set
     */
    public void setNovelType(int _novelType) {
        this._novelType = _novelType;
    }
}
